﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TeamProject.Insurance
{
    public partial class InsProducts : Form
    {
        public InsProducts()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Insurance.ProductAdd f_ProdAdd = new Insurance.ProductAdd();
            f_ProdAdd.MdiParent = Form1.ActiveForm;
            f_ProdAdd.button1Text = "Добави";
            f_ProdAdd.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Insurance.ProductAdd f_ProdAdd = new Insurance.ProductAdd();
            f_ProdAdd.MdiParent = Form1.ActiveForm;
            f_ProdAdd.button1Text = "Редактирай";
            f_ProdAdd.Show();
        }

    }
}
